package com.wondertek.mam.tag.domain;

import java.util.ArrayList;
import java.util.List;

/**
 * 请求相应结果类
 * Created by wangd on  9-16-0016.
 */
public class RespTag {
    /**
     * 热词标签
     */
    private List<String> hotTag = new ArrayList<>();
    /**
     * 普通标签
     */
    private List<String> generalTag = new ArrayList<>();

    /**
     * 分组词汇
     */

    private List<String> groupTag = new ArrayList<>();

    /**
     * 主分类
     */
    private Integer classId;
    public List<String> getHotTag() {
        return hotTag;
    }

    public void setHotTag(List<String> hotTag) {
        this.hotTag = hotTag;
    }

    public List<String> getGeneralTag() {
        return generalTag;
    }

    public void setGeneralTag(List<String> generalTag) {
        this.generalTag = generalTag;
    }

    public synchronized RespTag addHotTag(String hotTag){
        this.hotTag.add(hotTag);
        return this;
    }
    public synchronized RespTag addGeneralTag(String generalTag){
        this.generalTag.add(generalTag);
        return this;
    }

    public List<String> getGroupTag() {
        return groupTag;
    }

    public void setGroupTag(List<String> groupTag) {
        this.groupTag = groupTag;
    }
    public RespTag addGroupTag(String groupTag){
        this.groupTag.add(groupTag);
        return this;
    }
    public Integer getClassId() {
        return classId;
    }

    public void setClassId(Integer classId) {
        this.classId = classId;
    }

    @Override
    public String toString() {
        return "RespTag{" +
            "hotTag=" + hotTag +
            ", generalTag=" + generalTag +
            '}';
    }
}
